<template>
    <div class="cont">
        <div class="per" :style="{width: percentage + '%'}"></div>
    </div>
</template>
<script>
export default {
    props: {
        percentage: Number
    }
}
</script>
<style scoped>
.cont{
    background: #ebedf0;
    border-radius: 0.05rem;
    width: 100%;
    height: 0.12rem;
    overflow: hidden;
}
.per{
    height: 100%;
    background: #FFCC00;
}
</style>
